package ru.zombator.taskman.core.query.payload;

import ru.zombator.taskman.core.domain.ITask;

/**
 * Ответ "задача успешно модифицирована"
 * 
 * @author nvamelichev
 *
 */
public class TaskModifiedResponse implements IPayload {
	private static final long serialVersionUID = 1L;
	
	private ITask task;

	public TaskModifiedResponse(ITask task) {
		this.task = task;
	}
	
	public ITask getTask() {
		return this.task;
	}
}
